package com.itheima.dao;

import com.itheima.pojo.Menu;
import com.itheima.pojo.User;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

public interface UserDao extends BaseMapper<User> {
    List<Menu> findFirstMenuByUsername(String username);

    List<Menu> findSecondMenuByUsernameAndFirst(String username, Integer parentMenuId);
}